﻿@model List<KhatVongViet.Models.Article>
@{
    <div class="box-chitiet-tinnoibat-title">
        <a href="#" title='Xem thêm' style="color: #000000; font-family: 'Times New Roman', Times, serif; font-size: large; font-weight: bold; text-decoration: none;">
            Bài viết mới hơn</a>
        <div style="border-top: 1px solid #000; width: auto;">
            @for (int i = 0; i < Model.Count(); i++)
            {
                <div>
                    -&nbsp;<a href="/Home/DetailArticle?idArticle=@Model[i].ID" class="titlelink-main" title='@Model[i].Title'>
                               @Model[i].Title
                           </a>
                    &nbsp;(
                    @{
                        DateTime? dateCreate = Model[i].DateCreate;
                    }
                    @if (dateCreate != null)
                    {
                        @dateCreate.Value.ToString("MM/dd")
                    })
                </div>
                <br />
            }
        </div>
    </div>
}